package com.ywqf_api.service;


import com.ywqf_api.dto.exc.ToLoginExcution;
import com.ywqf_api.entity.EstatePay;
import com.ywqf_api.entity.HeatingPaid;
import com.ywqf_api.entity.UserAll;
import com.ywqf_api.entity.UserLogin;

import java.util.List;

public interface CustomerLoginService {

    public UserLogin loginPhone(String phoneNum);

    public int addLogin(String telephone, String password);

    public int updateUser(String telephone, String password);

    public int updatePasswordByCustomerId(String telephone,String password,String newPassword);

    /**
     * 通过ID获取密码
     * @param customerId
     * @return
     */
    public UserLogin getPassword(int customerId);

    public int updateTelephone(String newTelephone,String telephone,String password);

    public UserLogin getPasswordAndTelephone(String telephone);

    public UserAll selectAllOfTelephone(String password,String telephone);

    public int selectPastTel(String newTelephone);

    public ToLoginExcution findUserPark(int houseId);

    public String findServiceEndTime(int houseId);

    public ToLoginExcution findAll(int houseId);

//    public List<EstateFeePaymentHistory> getHistory(int houseId);

    public List<HeatingPaid> heatingPayMsg(int houseId);

    public List<EstatePay> housekeepingPay(int houseId);
}
